package com.vue.vuedemo.dao;

import com.vue.vuedemo.pojo.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper {

    List<Comment> findAll(Integer sId);

    Integer updateZan(Integer cId);

    Integer addComment(Comment comment);

    List<Comment> pIdFindAll(Integer pId);

    Integer delComment(Integer cId);
}
